
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td align="right">客户：</td>
		<td><input type="text" name="customer" id="customer" value="{[$result.customer]}" size="16" title="{[$t.customer]}"></td>
		<td align="right">填单日期：</td>
		<td><input type="text" name="date" id="date" size="12" value="{[$smarty.now|date_format:'%Y-%m-%d']}"></td>
	</tr>
	<tr>
		<td width="20%" align="right">编号：</td>
		<td width="30%"><input type="text" name="code" id="code" size="16" value="{[$result.code]}"></td>
		<td width="20%" align="right">分类：</td>
		<td width="30%"><select name='category'>
			{[html_options options=$category_option selected=$result.category]}
		</select></td>
	</tr>
	<tr>
		<td align="right">业务员：</td>
		<td colspan="3"><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="16" title="{[$t.emp_|emp:'业务员']}"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript"
	src="js/mold/mold/edit.js?r={[$smarty.now]}"></script>
